import Vue from 'vue'
import variables from '@/framework/styles/element-variables.scss'
import Theme from 'theme-vue'

const Th = new Theme()
Vue.prototype.$theme = Th
// const theme = variables.theme
const theme = window.localStorage.vuex ? JSON.parse(window.localStorage.vuex).settings.theme : variables.theme
Th.changeTheme(theme || variables.theme)
